﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PinLayoutMVC.Models
{
    public class SurveyOverviewModel
    {
        public List<SurveyModel> Surveys { get; set; }
        public int lastQuestionId { get; set; }
        public int lastAnswerId { get; set; }

        public int getAnswerId()
        {
            lastAnswerId++;
            return lastAnswerId;
        }

        public int getQuestionId()
        {
            lastQuestionId++;
            return lastQuestionId;
        }


        public SurveyOverviewModel()
        {
            this.Surveys = new List<SurveyModel>();
        }
    }
}